#ifndef GRADES_HPP
#define GRADES_HPP

#include <vector>
#include <iostream>

typedef std::vector<double> grade_vector; // grade_vector is alias for std::vector<double>

double median(grade_vector v);
double average(const grade_vector& v);
std::istream& read_grade_vector(std::istream& in, grade_vector& v);

#endif
